<!-- logo -->
<a href="/admin/index.html" class="brand-link">
    <img src="/customize/config/websiteIcon.png" alt="ssm-cluster Logo"
         class="brand-image img-circle elevation-3" style="opacity: .8">
    <span class="brand-text font-weight-light">ZHE BLOG</span>
</a>
<div class="sidebar">
    <div class="user-panel mt-3 pb-3 mb-3 d-flex">
        <div class="image">
            <img src="/customize/config/avatar.jpg" class="img-circle elevation-2" alt="User Image">
        </div>
        <div class="info">
            <a id="userNick" href="#" class="d-block"></a>
        </div>
    </div>
    <nav class="mt-2">
        <ul class="nav nav-pills nav-sidebar flex-column"
            data-widget="treeview" role="menu"
            data-accordion="false">
            <li class="nav-header">个人中心</li>
            <li class="nav-item">
                <a id="ul-item-1" href="/admin/index.html" class="nav-link active">
                    <i class="nav-icon fa fa-dashboard"></i>
                    <p>数据观星</p>
                </a>
            </li>
            <li class="nav-item">
                <a id="ul-item-2" href="/admin/editor.html" class="nav-link">
                    <i class="nav-icon fa fa fa-pencil-square-o"></i>
                    <p>发布博客</p>
                </a>
            </li>
            <li class="nav-header">管理模块</li>
            <li class="nav-item">
                <a id="ul-item-3" href="/admin/blogs.html" class="nav-link">
                    <i class="fa fa-list-alt nav-icon" aria-hidden="true"></i>
                    <p> 博客管理 </p>
                </a>
            </li>
            <li class="nav-item">
                <a id="ul-item-4" href="/admin/comment.html" class="nav-link">
                    <i class="fa fa-comments nav-icon" aria-hidden="true"></i>
                    <p> 评论管理 </p>
                </a>
            </li>
            <li class="nav-item">
                <a id="ul-item-5" href="/admin/category.html" class="nav-link">
                    <i class="fa fa-bookmark nav-icon" aria-hidden="true"></i>
                    <p>分类管理</p>
                </a>
            </li>
            <li class="nav-item">
                <a id="ul-item-6" href="/admin/link.html" class="nav-link">
                    <i class="fa fa-heart nav-icon" aria-hidden="true"></i>
                    <p>友情链接 </p>
                </a>
            </li>
            <li class="nav-header">系统管理</li>
            <li class="nav-item">
                <a id="ul-item-7" href="/admin/configuration.html" class="nav-link">
                    <i class="fa fa-wrench nav-icon"></i>
                    <p>系统配置</p>
                </a>
            </li>
            <li class="nav-item">
                <a onclick="logout()" class="nav-link">
                    <i class="fa fa-sign-out nav-icon"></i>
                    <p>安全退出</p>
                </a>
            </li>
        </ul>
    </nav>
</div>

